package org.yanghaokun.org.mapper;

import org.yanghaokun.basic.mapper.BaseMapper;
import org.yanghaokun.org.domain.Department;

import java.util.List;

/**
 * Department mapper要实现crud，分页
 */
public interface DepartmentMapper extends BaseMapper<Department> {

//    批量删除数据
    void bulkDel(List<Long> ids);

    List<Department> queryDepartTree();

}
